package 作业1020.zuoye4;

public class Jishuanqi {
    String color;//颜色
    String type;//品牌
    double yuan;//价格
        public void show(){
            System.out.println("颜色是"+color+"品牌是"+type+"价格是"+yuan);
        }
    public int and(int a, int b) {
        System.out.println("a+b="+(a + b));
        return a + b;
    }

    public int delete(int a, int b) {
        System.out.println("a-b="+(a - b));
        return a - b;
    }

    public int cheng(int a, int b) {
        System.out.println("a*b="+(a * b));
        return a *b;
    }
    public int chu(int a,int b){
        System.out.println("a/b="+(a / b));
        return a / b;
}
    public int lifang(int a){
        System.out.println("a*a*a="+(a*a*a));
        return a*a*a;
    }
    }


